LoadUrlParams

fun LoadUrlParams(url: String, data: UploadData? = null, extraHeaders: List<HttpHeader> = emptyList()): LoadUrlParams
fun LoadUrlParams(url: String, data: UploadData? = null, extraHeaders: List<HttpHeader> = emptyList()): LoadUrlParams

Creates an instance of LoadUrlParams with the given parameters.

Since

8.0.0

Parameters

url

The URL of the resource to load.

data

The upload data that will be sent to the resource.

extraHeaders

The extra HTTP headers that will be sent to the resource. Please note, the content type header will be ignored if data parameter is passed.